<?php
//include connection file
include('db_connect.php');
function execute_query($sql)
{
	if (!mysql_query($sql,$connection))
	{
	die('Error: ' . mysql_error());
	}
	mysql_close($connection);
	echo "Query executed successfully!"
}
?>